package com.digital.smartgrow.entity.datacenter;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 社会服务情况
 * </p>
 *
 * @author xiewb
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("community_service")
@ApiModel(value="CommunityService对象", description="社会服务情况")
public class CommunityService implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "职工号")
    @TableField("employeeId")
    private String employeeId;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "性别")
    @TableField("gender")
    private String gender;

    @ApiModelProperty(value = "所在单位")
    @TableField("company")
    private String company;

    @ApiModelProperty(value = "社会服务项目名称")
    @TableField("serviceProjectName")
    private String serviceProjectName;

    @ApiModelProperty(value = "服务对象")
    @TableField("serviceObject")
    private String serviceObject;

    @ApiModelProperty(value = "社会服务项目类型")
    @TableField("serviceProjectType")
    private String serviceProjectType;

    @ApiModelProperty(value = "时长天")
    @TableField("duration")
    private String duration;

    @ApiModelProperty(value = "社会服务日期")
    @TableField("serviceDate")
    private String serviceDate;

    @ApiModelProperty(value = "服务单位或部门")
    @TableField("serviceOrg")
    private String serviceOrg;

    @ApiModelProperty(value = "描述")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "证明")
    @TableField("attchment")
    private String attchment;

    @ApiModelProperty(value = "数据类别")
    @TableField("dataType")
    private String dataType;


}
